package com.rem.designPattern.state状态;

/**
 * @author Rem
 * @date 2022-11-27
 */
public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        //设置初始状态
        context.setLiftState(new ClosingState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}